.class final Lcom/ninesky/browser/r;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private synthetic a:Lcom/ninesky/browser/HistoryActivity;

.field private final synthetic b:Lcom/ninesky/widget/l;


# direct methods
.method constructor <init>(Lcom/ninesky/browser/HistoryActivity;Lcom/ninesky/widget/l;)V
    .locals 0

    iput-object p1, p0, Lcom/ninesky/browser/r;->a:Lcom/ninesky/browser/HistoryActivity;

    iput-object p2, p0, Lcom/ninesky/browser/r;->b:Lcom/ninesky/widget/l;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onClick(Landroid/view/View;)V
    .locals 7

    iget-object v0, p0, Lcom/ninesky/browser/r;->b:Lcom/ninesky/widget/l;

    invoke-virtual {v0}, Lcom/ninesky/widget/l;->c()V

    iget-object v0, p0, Lcom/ninesky/browser/r;->a:Lcom/ninesky/browser/HistoryActivity;

    invoke-virtual {v0}, Lcom/ninesky/browser/HistoryActivity;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v0

    iget-object v1, p0, Lcom/ninesky/browser/r;->a:Lcom/ninesky/browser/HistoryActivity;

    invoke-static {v1}, Lcom/ninesky/browser/HistoryActivity;->e(Lcom/ninesky/browser/HistoryActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/ninesky/browser/provider/e;->e(Landroid/content/ContentResolver;Ljava/lang/String;)V

    iget-object v6, p0, Lcom/ninesky/browser/r;->a:Lcom/ninesky/browser/HistoryActivity;

    iget-object v0, p0, Lcom/ninesky/browser/r;->a:Lcom/ninesky/browser/HistoryActivity;

    sget-object v1, Lcom/ninesky/browser/provider/e;->a:Landroid/net/Uri;

    sget-object v2, Lcom/ninesky/browser/provider/e;->b:[Ljava/lang/String;

    const-string v3, "visits > 0"

    const/4 v4, 0x0

    const-string v5, "date DESC"

    invoke-virtual/range {v0 .. v5}, Lcom/ninesky/browser/HistoryActivity;->managedQuery(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v0

    invoke-static {v6, v0}, Lcom/ninesky/browser/HistoryActivity;->a(Lcom/ninesky/browser/HistoryActivity;Landroid/database/Cursor;)V

    iget-object v0, p0, Lcom/ninesky/browser/r;->a:Lcom/ninesky/browser/HistoryActivity;

    iget-object v1, p0, Lcom/ninesky/browser/r;->a:Lcom/ninesky/browser/HistoryActivity;

    invoke-static {v1}, Lcom/ninesky/browser/HistoryActivity;->f(Lcom/ninesky/browser/HistoryActivity;)Landroid/database/Cursor;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/HistoryActivity;->a(Landroid/database/Cursor;)V

    iget-object v0, p0, Lcom/ninesky/browser/r;->a:Lcom/ninesky/browser/HistoryActivity;

    invoke-static {v0}, Lcom/ninesky/browser/HistoryActivity;->b(Lcom/ninesky/browser/HistoryActivity;)Lcom/ninesky/browser/bu;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/bu;->b()V

    iget-object v0, p0, Lcom/ninesky/browser/r;->a:Lcom/ninesky/browser/HistoryActivity;

    const-string v1, "History"

    const-string v2, "Remove"

    invoke-static {v0, v1, v2}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method
